package com.example.backblog.repository.blog;

import com.example.backblog.entity.blog.Tag;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TagRepository extends JpaRepository<Tag, Long> {
    List<Tag> findAllByNameEquals(String name);
    Tag findFirstByNameEquals(String name);

    List<Tag> findAllByIdIn(List<Long> ids);


}